package com.srxz.personnelsystem.system.mapper.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @作者：wgchao
 * @时间：19:15 2019/1/22 0022
 * @用途：
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LoginInfoDTO implements Serializable {
    private String id;

    private String userId;

    private String uname;

    private String name;

    private String password;

    private Boolean status;//是否可用

    private Integer type;//账户类型 0系统账户 1个人账户

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createUser;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date lastUpdateTime;

    private String lastUpdateUser;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date deleteTime;

    private String deleteUser;

    private String idcard;


}
